/* 首页容器样式 - 统一深色主题 */
.home-container {
  color: white;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* 英雄区域样式 - 优化为页面起始部分 */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  overflow: hidden;
  margin-bottom: 0;
}

/* 英雄区域渐变背景 */
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(66, 153, 225, 0.15) 0%, rgba(15, 23, 42, 0) 50%);
  z-index: 0;
}

/* 英雄区域覆盖层 */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 30%);
  z-index: 1;
}

/* 背景视频容器 */
.background-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* 背景视频样式 */
.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: brightness(0.7) contrast(1.1);
}

/* 英雄内容包装器 */
.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 2rem 0;
  padding-left: 5rem;
}

/* 英雄内容区域样式 */
.hero-content {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  text-align: left;
  max-width: 600px;
}

/* 英雄标签样式 */
.hero-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards 0.3s;
}

/* 英雄标题样式 */
.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards 0.5s;
}

/* 英雄描述文本样式 */
.hero-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards 0.7s;
}

/* 行动按钮容器样式 */
.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards 0.9s;
}

/* 次要按钮组 */
.secondary-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

/* 主要按钮样式 - 统一蓝色主题 */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
  border: none;
  cursor: pointer;
}

/* 主要按钮悬停样式 - 统一蓝色主题 */
.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -8px rgba(59, 130, 246, 0.5);
}

/* 次要按钮样式 - 设置背景色、文字颜色、内边距、边框等 */
.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
}

/* 次要按钮悬停样式 - 更改背景色、边框颜色、添加上移效果和增强阴影 */
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 英雄图片容器样式 */
.hero-image-container {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards 1.1s;
}

/* 视频容器样式 */
.video-container {
  position: absolute;
  top: -70px;
  right: 50px;
  width: 550px;
  z-index: 10;
  background: rgba(54, 79, 147, 0.758);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* 宣传视频样式 */
.promo-video {
  width: 100%;
  height: 420px;
  border-radius: 25px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* 视频标题样式 */
.video-caption {
  margin-bottom: 12px;
  text-align: center;
  font-size: 1rem;
  color: #f1f5f9;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 视频重播按钮样式 */
.video-replay-btn {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.video-replay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.video-replay-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  z-index: 5;
}



/* 动画定义 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px) rotate(2deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* 组织介绍区域样式 - 统一深色主题 */
.about-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  text-align: center;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

/* 添加与项目区域相同的装饰背景 */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(66, 153, 225, 0.1) 0%, rgba(15, 23, 42, 0) 50%);
  z-index: 0;
}

/* 组织介绍内容包装器 */
.about-section > * {
  position: relative;
  z-index: 1;
}

/* 组织介绍标题样式 - 统一白色主题 */
.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
  color: white;
  text-align: center;
  position: relative;
  display: inline-block;
}

/* 标题装饰线 - 统一蓝色主题 */
.about-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 2px;
}

/* 组织介绍描述文本样式 - 统一浅色文字 */
.about-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #cbd5e1;
  line-height: 1.6;
}

/* 团队照片展示 */
.team-gallery {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.team-photo {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.team-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.6);
}

/* 特性卡片容器样式 - 保持一致间距 */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 0;
}

/* 特性卡片样式 - 统一半透明玻璃态设计 */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 移除白色装饰角，改为蓝色渐变装饰 */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

/* 特性卡片悬停样式 - 统一悬停效果 */
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 特性卡片标题样式 - 统一白色文字 */
.feature-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 特性卡片标题前的图标 - 统一蓝色渐变背景 */
.feature-card h3::before {
  content: '';
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

/* 保持原有的图标内容 */
.feature-card:nth-child(1) h3::before {
  content: '💡';
}

.feature-card:nth-child(2) h3::before {
  content: '🤝';
}

.feature-card:nth-child(3) h3::before {
  content: '🎓';
}

/* 特性卡片描述文本样式 - 统一浅色文字 */
.feature-card p {
  color: #cbd5e1;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* 项目展示区域样式 */
.projects-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  color: white;
  text-align: center;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

/* 项目展示标题样式 - 设置字体大小、边距、颜色和居中对齐 */
.projects-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  margin-top: 0;
  color: white;
  text-align: center;
  position: relative;
  display: inline-block;
}

/* 项目展示标题装饰线 */
.projects-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 2px;
}

/* 项目卡片网格样式 - 设置flex布局、换行、居中对齐和间距 */
.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 项目卡片样式 */
.project-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.project-card-content {
  padding: 2rem;
}

.project-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-card p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* 响应式设计 - 优化桌面端显示 */
@media (max-width: 1200px) {
  .hero-content-wrapper {
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-illustration {
    max-width: 450px;
    height: 360px;
  }
  
  .video-container {
    width: 500px;
    top: -30px;
    right: -20px;
    padding: 15px;
  }
  
  .promo-video {
    height: 320px;
  }
  
  .video-caption {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  
  .rover-icon {
    top: 85%;
    width: 160px;
    height: 130px;
  }
}

@media (max-width: 1024px) {
  .hero-content-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-image-container {
    padding: 1rem;
  }
  
  .hero-illustration {
    max-width: 400px;
    height: 320px;
  }
  
  .video-container {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 20px;
  }
  
  .promo-video {
    height: 380px;
  }
  
  .video-caption {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .rover-icon {
    width: 160px;
    height: 120px;
    left: 45%;
  }
}

@media (max-width: 768px) {
  /* 统一移动端宽度设置 - 以MobileHome为标准 */
  .hero-section,
  .about-section,
  .projects-section {
    padding: 2rem 1.5rem;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .hero-content-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    padding-left: 0;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  /* 缩小英雄区域标题字体大小 */
  .hero-title {
    font-size: 2.25rem;
  }

  /* 缩小英雄描述字体大小 */
  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }

  /* 调整移动端按钮对齐 */
  .cta-buttons {
    align-items: flex-start;
  }

  .secondary-buttons {
    justify-content: flex-start;
  }

  /* 缩小标题字体大小 */
  .about-section h2,
  .projects-section h2 {
    font-size: 1.5rem;
  }

  /* 调整英雄统计数据样式 */
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    margin: 1rem 0;
    max-width: 100%;
  }

  /* 调整统计数字大小 */
  .stat-number {
    font-size: 1.5rem;
  }
  
  /* 调整统计项布局 */
  .stat-item {
    padding: 1rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }

  /* 调整特性卡片样式 */
  .feature-card {
    min-width: 100%;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }

  /* 调整项目卡片样式 */
  .project-card {
    min-width: 100%;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }

  /* 调整按钮样式 - 与MobileHome保持一致 */
  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  /* 调整火星车图标大小 */
  .rover-icon {
    width: 180px;
    height: 150px;
  }

  .rover-body {
    width: 140px;
    height: 80px;
  }

  .rover-top {
    top: -40px;
    left: 20px;
    width: 100px;
    height: 50px;
  }

  .rover-camera {
    top: -60px;
    left: 50px;
    width: 30px;
    height: 30px;
  }

  .wheel {
    width: 25px;
    height: 25px;
  }

  /* 调整装饰圆圈大小 */
  .circle-1 {
    width: 150px;
    height: 150px;
  }

  .circle-2 {
    width: 100px;
    height: 100px;
  }

  .circle-3 {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1.5rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .video-container {
    max-width: 380px;
    padding: 12px;
    right: 20px;
  }
  
  .promo-video {
    height: 240px;
  }
  
  .video-caption {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .rover-icon {
    width: 140px;
    height: 100px;
  }
}

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1rem;
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-section,
  .projects-section {
    padding: 2rem 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .project-card-content {
    padding: 1.5rem;
  }
